/*
 * Copyright 2021 Wicrenet, Inc. All rights reserved.
 */
package com.yinshu.teleshield.utils;

import java.util.Arrays;
import java.util.Date;
import java.util.List;

/**
 * 通用常量类
 *
 * @author yangjunxiong
 * @date 2021/11/1 10:57
 **/
public class CommonConstant {

    public static final String       localhostIp             = "127.0.0.1";
    public static final String       STRING_EMPTY            = "";
    public static final String       N                       = "N";
    public static final String       Y                       = "Y";
    public static final String       LIMIT1                  = "LIMIT 1";
    public static final String       LIMIT10                 = "LIMIT 10";
    public static final String       LIMIT100                = "LIMIT 100";
    public static final String       ZERO                    = "0";
    public static final String       ONE                     = "1";
    public static final String       SUCCESS                 = "1";
    public static final String       FAIL                    = "0";
    public static final int          ON_SKIP_IN_READ         = 1;
    public static final int          ON_SKIP_IN_PROCESS      = 2;
    public static final int          ON_SKIP_IN_WRITE        = 3;
    public static final int          BATCH_SIZE              = 1000;
    public static final int          BEHAVIOR_BATCH_SIZE     = 500;
    public static final String       NULL                    = null;
    public static final String       CREATERBATCH            = "batch";
    public static final String       JOB_PARAMETERS          = "jobParameters";
    public static final Date         yyyyMMddHHmmss_str_2999 = new Date(32472118861000L);//2999年
    public static final int          _0                      = 0;
    public static final int          _1                      = 1;
    public static final int          _2                      = 2;
    public static final int          _3                      = 3;
    public static final int          _4                      = 4;
    public static final int          _5                      = 5;
    public static final int          _6                      = 6;
    public static final int          _7                      = 7;
    public static final int          _8                      = 8;
    public static final int          _9                      = 9;
    public static final int          _10                     = 10;
    public static final int          _11                     = 11;
    public static final int          _12                     = 12;
    public static final int          _13                     = 13;
    public static final int          _14                     = 14;
    public static final int          _15                     = 15;
    public static final int          _16                     = 16;
    public static final int          _17                     = 17;
    public static final int          _18                     = 18;
    public static final int          _19                     = 19;
    public static final int          _20                     = 20;
    public static final int          _21                     = 21;
    public static final int          _22                     = 22;
    public static final int          _23                     = 23;
    public static final int          _24                     = 24;
    public static final int          _25                     = 25;
    public static final int          _26                     = 26;
    public static final int          _27                     = 27;
    public static final int          _28                     = 28;
    public static final int          _29                     = 29;
    public static final int          _30                     = 30;
    public static final int          _31                     = 31;
    public static final int          _32                     = 32;
    public static final int          _33                     = 33;
    public static final int          _34                     = 34;
    public static final int          _35                     = 35;
    public static final int          _36                     = 36;
    public static final int          _37                     = 37;
    public static final int          _38                     = 38;
    public static final int          _39                     = 39;
    public static final int          _40                     = 40;
    public static final int          _41                     = 41;
    public static final int          _42                     = 42;
    public static final int          _43                     = 43;
    public static final int          _44                     = 44;
    public static final int          _45                     = 45;
    public static final int          _46                     = 46;
    public static final int          _47                     = 47;
    public static final int          _48                     = 48;
    public static final int          _49                     = 49;
    public static final int          _50                     = 50;
    public static final int          _51                     = 51;
    public static final int          _52                     = 52;
    public static final int          _53                     = 53;
    public static final int          _54                     = 54;
    public static final int          _55                     = 55;
    public static final int          _56                     = 56;
    public static final int          _57                     = 57;
    public static final int    _58   = 58;
    public static final int    _59   = 59;
    public static final int    _60   = 60;
    public static final int    _61   = 61;
    public static final String JPG   = "jpg";
    public static final String PNG   = "png";
    public static final String XBM   = "xbm";
    public static final String TIF   = "tif";
    public static final String PJP   = "pjp";
    public static final String SVGZ  = "svgz";
    public static final String JPEG  = "jpeg";
    public static final String ICO   = "ico";
    public static final String TIFF  = "tiff";
    public static final String GIF   = "gif";
    public static final String SVG   = "svg";
    public static final String JFIF  = "jfif";
    public static final String WEBP  = "webp";
    public static final String BMP   = "bmp";
    public static final String PJPEG = "pjpeg";
    public static final String AVIF  = "avif";

    public static final List<String> IMAGES = Arrays.asList(JPG, PNG, XBM, TIF, PJP, SVGZ,
            JPEG, ICO, TIFF, GIF, SVG, JFIF, WEBP, BMP, PJPEG, AVIF);
    public static final String       DOC    = "doc";
    public static final String       DOCX   = "docx";
    public static final String       XLS    = "xls";
    public static final String       XLT    = "xlt";
    public static final String       XML    = "xml";
    public static final String       RTF    = "rtf";
    public static final String       DOT    = "dot";
    public static final String       PPS    = "pps";
    public static final String       POT    = "pot";
    public static final String       PPT    = "ppt";
    public static final String       MSG    = "msg";
    public static final String       EML    = "eml";
    public static final String       MHT    = "mht";
    public static final String       PST    = "pst";
    public static final String       PDF    = "pdf";
    public static final String       OST    = "ost";
    public static final String       TXT    = "txt";
    public static final String       PPTX   = "pptx";
    public static final String       XLSM   = "xlsm";
    public static final String       XLSX   = "xlsx";

    public static final List<String> DOCS = Arrays.asList(DOC, DOCX, XLS, XLT, XML, RTF,
            DOT, PPS, POT, PPT, MSG, EML, MHT, PST, PDF, OST, TXT, PPTX, XLSM, XLSX);
    public static final String       TS   = "ts";
    public static final String       MPG  = "mpg";
    public static final String       MPEG = "mpeg";
    public static final String       AVI  = "avi";
    public static final String       RM   = "rm";
    public static final String       RMVB = "rmvb";
    public static final String       MOV  = "mov";
    public static final String       WMV  = "wmv";
    public static final String       ASF  = "asf";
    public static final String       DAT  = "dat";
    public static final String       MP4  = "mp4";
    public static final String       M4V  = "m4v";
    public static final String       FLV  = "flv";
    public static final String       MKV  = "mkv";
    public static final String       AAC  = "aac";
    public static final String       AC3  = "ac3";
    public static final String       ACM  = "acm";
    public static final String       AMR  = "amr";
    public static final String       APE  = "ape";
    public static final String       CAF  = "caf";
    public static final String       FLAC = "flac";
    public static final String       M4A  = "m4a";
    public static final String       MP3  = "mp3";
    public static final String       RA   = "ra";
    public static final String       WAV  = "wav";
    public static final String       WMA  = "wma";

    public static final List<String> VIDEOS = Arrays.asList(TS, MPG, MPEG, AVI, RM, RMVB, MOV,
            WMV, ASF, DAT, MP4, M4V, FLV, MKV, AAC, AC3, ACM, AMR, APE, CAF, FLAC, M4A, MP3, RA, WAV, WMA);

}
